package com.example.automanagement.service;

import com.example.automanagement.entity.AutoArchives;
import com.example.automanagement.entity.DriverArchives;
import com.example.automanagement.util.PageBean;
import org.springframework.stereotype.Service;

import java.util.*;


public interface ArchiveService {

    List<AutoArchives> list();
    void add(AutoArchives archives);
    void delete(AutoArchives archives);
    void update(AutoArchives archives);

    PageBean pageList(Integer page, Integer pageSize,String autoPlateNum,Integer seatNum, String autoType);

    AutoArchives getArchiveById(String autoId);

    List<AutoArchives> fetchPlates();
    AutoArchives getAutoIdByPlate(String autoPlate);
}
